class CreateNotifications < ActiveRecord::Migration
  def self.up
    create_table :notification do |t|
      t.column :email, :string, :nil => false
      t.column :video_id, :integer, :nil => false
      t.column :done_at, :datetime
      t.column :created_at, :datetime
      t.column :send_attachment, :boolean, :default => false
    end
  end

  def self.down
    drop_table :notification
  end
end
